-- GENERATED SPELL FOR [Rockjaw Backbreaker] --


function spell0_1118(pUnit, Event) --@Frenzy,Self--
pUnit:FullCastSpellOnTarget(3019,pUnit)
pUnit:RegisterEvent('Sorts_1118', 15000, 1)
end

function Sorts_1118(pUnit, Event)
local choix_sorts_1118 = math.random(0, 0)
if choix_sorts_1118 == 0 then
pUnit:RegisterEvent('spell0_1118', 1, 1)
end
end

function mob1118_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1118', math.random(1500, 3000), 1)
end

function mob1118_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1118_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1118_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1118, 1, 'mob1118_Action')
RegisterUnitEvent(1118, 2, 'mob1118_Leave')
RegisterUnitEvent(1118, 3, 'mob1118_Kill')
RegisterUnitEvent(1118, 4, 'mob1118_Die')
